﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Manager.App_Code.DAL;
using Manager.App_Code.DTO;
using Manager.App_Code.IDAL;
using System.Data.Linq;
using System.Linq;
using Manager.App_Code;

namespace Manager.FormMain
{
    public partial class Frm_Barbutton_Phong : DevExpress.XtraEditors.XtraForm
    {
        NewPearl_HotelDataContext db = new NewPearl_HotelDataContext();
        public Frm_Barbutton_Phong()
        {
            InitializeComponent();
        }

        private void Frm_Barbutton_Phong_Load(object sender, EventArgs e)
        {
            gridPhong.DataSource = db.Phongs.ToList();
            
        }

        private void butThemMoi_Click(object sender, EventArgs e)
        {

        }

        private void butHieuChinh_Click(object sender, EventArgs e)
        {

        }

        private void butXoa_Click(object sender, EventArgs e)
        {

        }
    }
}